package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 邀请码配置对象 base_invitation_code
 *
 * @author ruoyi
 * @date 2023-03-08
 */
public class BaseInvitationCode extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * 邀请码
     */
    @Excel(name = "邀请码")
    private String invitationCode;

    /**
     * 默认好友
     */
    @Excel(name = "默认好友")
    private String defaultUser;

    /**
     * 欢迎语
     */
    @Excel(name = "欢迎语")
    private String sayText;

    @Excel(name = "下一个")
    private String nextOne;

    public String getNextOne() {
        return nextOne;
    }

    public void setNextOne(String nextOne) {
        this.nextOne = nextOne;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setInvitationCode(String invitationCode) {
        this.invitationCode = invitationCode;
    }

    public String getInvitationCode() {
        return invitationCode;
    }

    public void setDefaultUser(String defaultUser) {
        this.defaultUser = defaultUser;
    }

    public String getDefaultUser() {
        return defaultUser;
    }

    public void setSayText(String sayText) {
        this.sayText = sayText;
    }

    public String getSayText() {
        return sayText;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("invitationCode", getInvitationCode())
                .append("defaultUser", getDefaultUser())
                .append("sayText", getSayText())
                .toString();
    }
}
